    // HMSDK.js
    function HMToast(message) {
        if (window.HMJSBridge) {
            window.HMJSBridge.showToast(message);
        } else {
            console.warn("HMJSBridge is not available");
        }
    }

    function HMTimePicker(callback) {
        if (window.HMJSBridge) {
            window.HMJSBridge.showTimePicker(callback);
        } else {
            console.warn("HMJSBridge is not available");
        }
    }

    function HMNavigation(params) {
        if (window.HMJSBridge) {
            window.HMJSBridge.navigationTo(params);
        } else {
            console.warn("HMJSBridge is not available");
        }
    }

    function HMNativeText(){
        return window.HMJSBridge ? window.HMJSBridge.nativeText() : null;
    }
export default {
    HMToast,
    HMTimePicker,
    HMNavigation,
    HMNativeText
}